﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Core.Framework.Distributed.Model
{
    /// <summary>
    /// 任务字典对象
    /// </summary>
    public class TaskDicEntity
    {
        /// <summary>
        /// 任务失败触发
        /// </summary>
        public Action TaskFail { get; set; }

        /// <summary>
        /// 任务成功触发
        /// </summary>
        public Action TaskSuccess { get; set; }

        /// <summary>
        /// 任务超时时间
        /// 单位 ms
        /// </summary>
        public int TaskExpirationTime { get; set; }

    }
}
